package com.jic.interaction.JDVOP.model.vo.response;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * 商品表
 *
 * @author :
 * @version : v1.0.0
 * @email :
 * @since : 2020-01-10 07:03:01
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ProductInfoResponse {
    @ApiModelProperty(value = "商家商品id")
    private Long id;

    @ApiModelProperty(value = "参考价")
    private BigDecimal salePriceWithTax;

    @ApiModelProperty(value = "营销价格")
    private BigDecimal marketPrice;

    @ApiModelProperty(value = "商品名称")
    private String name;

    @ApiModelProperty(value = "商品副标题")
    private String subtitle;

    @ApiModelProperty(value = "商品描述")
    private String describe;

    @ApiModelProperty(value = "商品店铺所属组织id")
    private long deptId;

    @ApiModelProperty(value = "销量")
    private Integer saleNum;

    @ApiModelProperty(value = "商品类型：1-普通商品;2-系列子品")
    private Integer typeOfProduct;

    @ApiModelProperty(value = "虚品id")
    private Long parentId;

    @ApiModelProperty(value = "商品库存")
    private Integer availableStock;

    @ApiModelProperty(value = "商家商品编码")
    private String code;

    @ApiModelProperty(value = "结束时间")
    private String setActivityEndTime;

    @ApiModelProperty(notes = "时间间隔Id")
    private String timeId;

    @ApiModelProperty(value = "参数JSON")
    private String parameterJson;

    @ApiModelProperty(value = "会员id")
    private Long memberId;

    @ApiModelProperty(value = "第三方编码")
    private String thirdProductCode;

    @ApiModelProperty(notes = "活动开始时间戳")
    private Long startTime;

    @ApiModelProperty(notes = "活动结束时间戳")
    private Long endTime;

    @ApiModelProperty(notes = "活动开始时间字符串")
    private String startTimeStr;

    @ApiModelProperty(notes = "活动结束时间字符串")
    private String endTimeStr;

    @ApiModelProperty(notes = "成团人数")
    private Integer groupMembers;

    @ApiModelProperty(notes = "活动描述")
    private String activityRemark;

    @ApiModelProperty(value = "是否关注此商品 1:已关注 0 : 未关注")
    private String isFavoriteProduct;
}
